package com.lzw.bean;

import com.lzw.common.bean.BaseBean;

import javax.validation.constraints.NotNull;

/**
 * 角色
 * Created by Administrator on 2017/6/30 0030.
 */
public class Role extends BaseBean {

    private Integer status;
    @NotNull
    private String name;
    private String note;

    private Integer ischecked;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getIschecked() {
        return ischecked;
    }

    public void setIschecked(Integer ischecked) {
        this.ischecked = ischecked;
    }

    @Override
    public String toString() {
        return "Role{" +
                "status=" + status +
                ", name='" + name + '\'' +
                ", note='" + note + '\'' +
                "} " + super.toString();
    }
}
